package com.qingcheng.entity;

import com.qingcheng.pojo.system.Admin;
import com.qingcheng.pojo.system.Role;

import java.io.Serializable;
import java.util.List;

public class AdminRoleResult implements Serializable {
    private Admin admin;
    private List<Role> roleList;

    public AdminRoleResult(Admin admin, List<Role> roleList) {
        this.admin = admin;
        this.roleList = roleList;
    }

    public AdminRoleResult() {
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    @Override
    public String toString() {
        return "AdminRoleResult{" +
                "admin=" + admin +
                ", roleList=" + roleList +
                '}';
    }
}
